import express from 'express';
import Ret, { RetCode } from '../../../bean/code/Ret';
const app = express();
import { urlEncode, excludeEmpty } from '../../../utils/index';
import { db, Sequelize } from '../../../dao/config/index';
import { converPage } from '../../../bean/page';
import { error } from '../../../utils/logger';
import { mock } from '../../../service/order/info';
const Product = require("../../../dao/models/f_product")(db, Sequelize);


/**
 * 创建订单
 */
app.get("/createOrder", async (req, res) => {
  await mock();
  res.json(Ret(RetCode.SUCCESS).setData({}));
})


export default app;
  